package com.warehouse_management.purchase.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@TableName("C_PURCHASE")
public class Purchase {

  private String purchaseId;
//  @JsonFormat(pattern = "yyyy-MM-dd HH-mm-ss")
  private String purchaseTime;
  private String totalMoney;
  private String creatId;
  private String checkStatus;
  private String checkId;
  @JsonFormat(pattern = "yyyy-MM-dd HH-mm-ss")
  private Date checkTime;
  private String checkOpinion;
  private String warehuoseId;
  private String cgState;

  //周永成
  private String caoZuoName;
  private String shengHeName;
  private String rownum;
  private String count;
  private String productId;
  private String typeId;
  private String brandId;
  private String firmId;

}
